package service;

import domain.Teacher;
import exception.BysjException;
import util.Condition;
import util.Pagination;

import java.sql.SQLException;
import java.util.Collection;
import java.util.List;

public interface TeacherServiceInterface {
    public Collection<Teacher> findAll(List<Condition> conditionList, Pagination pagination) throws SQLException, BysjException;
    public boolean add(Teacher teacher)throws SQLException , BysjException;
    public Teacher find(int id)throws SQLException;
    public boolean update(Teacher teacher)throws SQLException , BysjException;
}
